<?php

namespace app\index\validate;
use think\Validate;
use think\Db;
class Export extends Validate
{
    // 验证规则
    protected $rule =   [
        'start'  => 'require',
        'end' =>'require',
        'type'=>'require|number|gt:0'
    ];
    // 错误提示消息
    protected $message  =   [
        'start.require'  => '请选择开始时间',
        'end.require'=>'请选择结束时间',
        'type.require'=>'请选择会议'

    ];
}